/* === S T A R T =========================================================== */
/* === H E A D E R S ======================================================= */
#ifdef USING_PCH
#	include "pch.h"
#else
#ifdef HAVE_CONFIG_H
#	include <config.h>
#endif
#include "mod_skeleton.h"
#include "dock_skeleton.h"
#include "../app.h"
#include "../dockmanager.h"
#include "../general.h"
#include <gtk-2.0/gtk/gtkbutton.h>
#endif
/* === U S I N G =========================================================== */
using namespace std;
using namespace etl;
using namespace synfig;
using namespace studio;
/* === M E T H O D S ======================================================= */
bool
studio::ModSkeleton::start_vfunc()
{
	dock_skeleton_edit = new Dock_SkeletonEdit();
	App::get_dock_manager()->register_dockable(*dock_skeleton_edit);
	return true;
}
bool
studio::ModSkeleton::stop_vfunc()
{
       App::get_dock_manager()->unregister_dockable(*dock_skeleton_edit);
	delete dock_skeleton_edit;
	return true;
}
